package com.spring.springboot.timer;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

import com.mysql.fabric.xmlrpc.base.Data;

/**
*@author LSY
*Time: 2018年12月21日上午10:37:56
*
*
*/
public class GoodAddTimer extends QuartzJobBean{

	static Logger logger = LoggerFactory.getLogger(GoodAddTimer.class);
	@Override
	protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
		logger.info("添加商品完成执行该任务，任务时间{}", new Data());
	} 

	
}
